<script setup lang="ts">
import {defineComponent} from "vue";
import {activeGlobalItem} from "@/components/formDesigner/select.ts";
import {useVModel} from "@vueuse/core";

defineComponent({
  name: 'el-input-config'
})

const emit = defineEmits(['update:activeItem'])
const props = defineProps({
  activeItem: {
    type: Object,
    required: true
  },
})

const acItem = useVModel(props, 'activeItem', emit)

</script>

<template>
    <el-form>
      <el-form-item label="默认值">
        <el-input v-model="acItem.options.modelValue" placeholder="请输入默认值"></el-input>
      </el-form-item>
      <el-form-item label="占位文本">
        <el-input v-model="acItem.options.placeholder" placeholder="请输入默认值"></el-input>
      </el-form-item>
      <el-form-item label="标签名">
        <el-input v-model="acItem.options.label" placeholder="请输入默认值"></el-input>
      </el-form-item>
      <el-form-item label="输入框类型">
        <el-input v-model="acItem.options.label" placeholder="请输入默认值"></el-input>
      </el-form-item>

    </el-form>
</template>

<style scoped>

</style>
